<?php
class Timer extends Singletone{
    private static $timestart;
    protected static $instance;

    public static function getInstance() {
        if (is_null(self::$instance) ) {
            self::$instance = new Timer;
        }
        return self::$instance;
    }
    static function setTimeStart(){
        self::$timestart = microtime(true);
    }



     static function getTimeStart(){
        return self::$timestart;
    }
}
?>
